package org.nstack.header.network.l2;

import org.nstack.header.message.APIEvent;
import org.nstack.header.rest.RestResponse;



@RestResponse(allTo = "inventory")
public class APICreateL2NetworkEvent extends APIEvent {

    private L2NetworkInventory inventory;

    public APICreateL2NetworkEvent() {
        super(null);
    }

    public APICreateL2NetworkEvent(String apiId) {
        super(apiId);
    }

    public L2NetworkInventory getInventory() {
        return inventory;
    }

    public void setInventory(L2NetworkInventory inventory) {
        this.inventory = inventory;
    }
 
    public static APICreateL2NetworkEvent __example__() {
        APICreateL2NetworkEvent event = new APICreateL2NetworkEvent();


        return event;
    }

}
